Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom sounds in actions & Fix for <1.21.3 #159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Tanguygab
Copy link
Contributor

Add support for custom sounds in [sound], [broadcastsound] & [broadcastsoundworld]
Works as an alternative to #158 and closes #157 since we use a string representing the sound's namespace instead of a Sound.

This also means that if a sound's namespace is different from the Sound's name in Spigot's Sound Enum (now Interface), it won't work, though from what I've seen, aside from . being replaced by _ (which I took in account) and namespaces being fully lowercased, they all seem to be exactly the same so there shouldn't be any issues.

@BlitzOffline
Copy link
Member

I personally would prefer if we added adventure sound support instead. I'm going to look into a better way to serialize actions since a single string can make things complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants